$(document).ready(function() { 
	var $winwidth = $(window).width();
	$("img.imgsl").attr({
		width: $winwidth
	});
	
	$(window).bind("resize", function(){ 
		var $winwidth = $(window).width();
		$("img.imgsl").attr({
			width: $winwidth
		});
	 });
		
	
	$('#btdangnhap').click(function(e){
   if($(this).hasClass('acc_info_opened')==false){
    e.stopPropagation(); 
    $('.login').slideDown();
    $(this).addClass('acc_info_opened');
   }
   else{
    $(this).removeClass('acc_info_opened');
    $('.login').slideUp();
   }
    
  });
 
 
 });